package com.meepo.basic.schema.common

import java.io.Serializable

data class Pagination(
    val pageSize: Int,
    val current: Int,
    val total: Int

) : Serializable {

    val hasMore: Boolean
        get():Boolean {
            return pageSize * current < total
        }
}